﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.SqlClient;
using System.Data;

/// <summary>
/// Summary description for dataservice
/// </summary>
public class dataservice
{
    SqlConnection conn;
        SqlCommand cmd;
	public dataservice()
	{
	}
    public SqlConnection getconnect()    {

        string constr = System.Configuration.ConfigurationManager.ConnectionStrings["conStr"].ConnectionString;
        conn = new SqlConnection(constr);
        conn.Open();
        return conn;
    }
	}
